package com.example.bookManagement.Mapper;

import com.example.bookManagement.Model.BookInfo;
import com.example.bookManagement.Model.PageRequest;
import org.apache.ibatis.annotations.*;
import java.util.List;
@Mapper
public interface BookInfoMapper {
    int insertBook(BookInfo record);
    Integer count();
    List<BookInfo> queryBookListByPage(PageRequest pageRequest);
    BookInfo queryBookById(Integer bookId);
    void updateBook(BookInfo bookInfo);
    void batchDeleteBook(List<Integer> ids);
}